/**
 * 
 */
package com.qdairlines.service.dict.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qdairlines.dao.dict.DictionaryItemMapper;
import com.qdairlines.entity.dict.DictionaryItem;
import com.qdairlines.service.base.impl.BaseServiceImpl;
import com.qdairlines.service.dict.DictionaryItemService;

/**
 * @author pangyannan
 * @date 2017年3月6日
 * @company QingDao Airlines
 * @description 字典明细服务
 */
@Service
public class DictionaryItemServiceImpl extends BaseServiceImpl<DictionaryItem,Integer> implements DictionaryItemService {
	@Autowired
	private DictionaryItemMapper dictionaryItemMapper;
	
	@Autowired
	public void setBaseMapper() {
		super.setBaseMapper(dictionaryItemMapper);
	}

	/* (non-Javadoc)
	 * @see com.qdairlines.service.dict.DictionaryItemService#updateCancelAllDefalutItem(java.lang.Integer)
	 */
	@Override
	public void updateCancelAllDefalutItem(Integer dictionaryId) {
		dictionaryItemMapper.updateCancelAllDefalutItem(dictionaryId);
	}

}
